package object;

import org.openqa.selenium.WebDriver;

import utility.BasePage;
import utility.Locator;
import utility.Locator.ByType;

public class HomePage extends BasePage {
	
	Locator userbar_login=new Locator("Userbar_login");
	Locator userbar_logout=new Locator("Userbar_logout");
	Locator userbar_MySpace=new Locator("Userbar_MySpace",ByType.cssSelector);
	
	public HomePage(WebDriver driver) {
		super(driver);
	}
	
	public void login_Click(){
			click(userbar_login);	
	}
	
	public void logout_Click(){

			click(userbar_logout);
		
	}
	
	public void mySpace_Click(){
		click(userbar_MySpace);	
}

}
